package com.bi.qi;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AopTestController1{



    @MyAspect
    @RequestMapping("/t3")
    public String f1() throws InterruptedException {
        System.out.println("正在执行AopTestController1 f1方法");
        Thread.sleep(10);

        return "f3";
    }


    @RequestMapping("/t4")
    public String f2(){
        System.out.println("正在执行AopTestController1 f2方法");
        return "f4";

    }


}
